package com.ebelter.nb;


import android.app.Application;

import com.ebelter.btcomlib.AppConfigs;
import com.ebelter.btcomlib.CommonLib;
import com.ebelter.btcomlib.common.Constants;
import com.ebelter.btcomlib.utils.SpUtil;
import cn.jpush.android.api.JPushInterface;

public class NB_App extends Application{
    @Override
    public void onCreate() {
        super.onCreate();

        CommonLib.init(this, AppConfigs.Bugly_APPID_NB);
        SpUtil.writeLong(Constants.IUser.OPEN_APP_TIME,System.currentTimeMillis());//记录一下开始时间


        //初始化极光推送
        JPushInterface.setDebugMode(true);
        JPushInterface.init(this);

    }
}
